<%-- 
    Document   : replacement
    Created on : Jan 13, 2013, 5:08:25 PM
    Author     : Bittuji
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="default.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="stylesheet" href="validationEngine.jquery.css" type="text/css"/>
        <script src="jquery-1.8.2.js" type="text/javascript">
	</script>
        <script src="jquery.validationEngine-en.js" type="text/javascript" >
	</script>
        <script src="jquery.validationEngine.js" type="text/javascript">
	</script>
        <script>
	
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#login").validationEngine();
		});
		
		</script>
    </head>
    <body>
        <h1>Replacement</h1>
    <form action="replacementdb.jsp" method="post">
        <table border="0">
            
            <tr>
                <td>Bill No:</td>
                <td><input type="text" class="validate[required] contact_input" name="bno" id="bno"/></td>
            </tr>
            <tr>
                <td>Product Id:</td>
                <td><input type="text" class="validate[required] contact_input" name="ptid" id="ptid"/></td>
            </tr>
            <tr>
                <td>Replacement Date:</td>
                <td><input type="text" class="validate[required] contact_input" name="rpdate" id="rpdate"/></td>
            </tr>
            <tr>
                <td>Return Date</td>
                <td><input type="text" class="validate[required] contact_input" name="rtdate" id="rtdate"/></td>
            </tr>
            <tr>
                <td>Status</td>
                <td><select class="validate[required] contact_input" name="status" id="status"/>
	<option value="Repaire">Repaire</option>
	<option value="Replace">Replace</option>
        </select>
                </td>
            </tr>
            <tr>
                <td>Remark</td>
                <td>
                    <textarea class="validate[required] contact_input" rows="5" cols="15" id="remark" name="remark"></textarea>
                </td>
            </tr>
            <tr>
                <td>Replacement Type</td>
                <td>
                    <select class="validate[required] contact_input" name="rtype" id="rtype"/>
	<option value="Inhouse">Inhouse</option>
	<option value="Technician">Technician</option>
        </select>
                </td>
            </tr>
            <tr>
                <td><input type="submit" value="Submit"/>
                    <input type="reset"/><br/></td>
            </tr>
        </table>
        </form>
    </body>
</html>
